﻿using SmartWMS.Common.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.WarehouseManage.StockManagement.Dto
{
    /// <summary>
    /// 入库管理
    /// </summary>
    public class StockDto
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 入库编号
        /// </summary>
        public string? WarehousingCode { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        [MaxLength(50)]
        public string? ProductName { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        [MaxLength(50)]
        public string? ProductCode { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string? Batch { get; set; }

        /// <summary>
        /// 单位名称
        /// </summary>
        [MaxLength(30)]
        public string? UnitName { get; set; }

        /// <summary>
        /// 入库数
        /// </summary>
        public int InWarehouseNumber { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 库位名称
        /// </summary>
        [MaxLength(30)]
        public string? LocationName { get; set; }

        /// <summary>
        /// 入库类型
        /// </summary>
        public int WarehousingType { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? SupplierName { get; set; }

        ///<summary>
        /// 添加人
        /// </summary>
        public string? Creator { get; set; }

        ///<summary>
        /// 审核状态
        /// </summary>
        public int State { get; set; }

        ///<summary>
        /// 审核人
        /// </summary>
        public string? Reviewer { get; set; }

        ///<summary>
        /// 审核时间
        /// </summary>
        public DateTime Audittime { get; set; }

        ///<summary>
        /// 备注
        /// </summary>
        [MaxLength(200)]
        public string? Remarks { get; set; }


    }
}
